package ruanjian.dao;

import com.github.pagehelper.Page;
import ruanjian.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {
    public Page<Setmeal> selectByCondition(String queryString);

    public void add(Setmeal setmeal);

    public void setSetmealAndCheckGroup(Map map);

    public Setmeal findById(Integer id);

    public List<Integer> findCheckGroupIdsBySetmealId(Integer id);

    public void edit(Setmeal setmeal);

    public void deleteAssociation(Integer setmealId);


    public void deleteById(Integer id);

    public List<Setmeal> findAll();


    public Setmeal findSetmealById(Integer id);
}
